'use strict';
import React, { Component } from 'react';
import {
    AppRegistry,
    StyleSheet,
    PixelRatio,
    Text,
    View,
	Image,
	TouchableWithoutFeedback,
	Platform
} from 'react-native';
//公共组件
import css from '../common/common_css'
import dp from '../common/pxToDp'
import BackAndTitle from '../common/BackAndTitle'
//页面组件
import MessageList from '../components/messageCenter/items/MessageList'
class Login extends Component{
    constructor(props) {
      	super(props);
      	this.state = {

      	};
    }
    render(){
		var iosdiv=null;
		if (Platform.OS === 'ios') {
			iosdiv=(
				<View style={{height:dp(20)}}></View>
			)
		}
		return(
			<View style={[s.flex1,s.body]}>
				<BackAndTitle
					title='消息中心'
					navigator={this.props}
					/>
				<MessageList navigator={this.props}/>
			</View>
		)
    }
}

const s = StyleSheet.create(Object.assign(css,{
	body:{
		backgroundColor:'#fff'
	}
}));

module.exports=Login;
